package com.jzmy.employment.controller.feign;

import com.jzmy.employment.entity.Resumes;
import com.jzmy.employment.service.ResumesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * @author mengzhichao
 * @create 2022-08-29-10:30
 */
@RestController
@RequestMapping("/ResumesFeignController")
public class ResumesFeignController {

    @Autowired
    private ResumesService resumesService;


    @PostMapping("/findOneByKv")
    Resumes findOneByKv(@RequestBody Object... param){
        System.out.println("进入feign接口-------------------");
       return resumesService.findOneByKv(param);
    }
}
